package com.lincoln.jenkins.test.actions;

import com.lincoln.jenkins.test.replys.Reply;
import lombok.Data;

/// 同意加好友请求
/// <param name="opcode">传3即可</param>
/// <param name="user_wxid">收到的FromUsername</param>
/// <param name="user_v1_name">收到的EncryptUsername</param>
/// <param name="user_ticket">收到的Ticket</param>
/// <param name="user_anti_ticket">空着即可</param>
/// <param name="send_content">空着即可</param>
@Data
public class VerifyUser implements Reply {
    private int opcode;
    private String userWxid;
    private String userV1Name;
    private String userTicket;
    private String userAntiTicket;
    private String sendContent;

    @Override
    public String genUrl() {
        return "<&&>VerifyUser<&>" + opcode + "<&>" + userWxid+ "<&>" + userV1Name+ "<&>" + userTicket+ "<&>" + userAntiTicket+ "<&>" + sendContent;
    }
}
